home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 128 35
/
q35.d81
/
t.nfl top ten
< prev
next >
Wrap
Text File
|
2022-08-28
|
8KB
|
171 lines
N F L T O P T E N
Program and Text by David B. Presley
Introduction
------------
College football has its polls which decide the College National
Championship each year. The team voted number one in the nation at the end
of the season is crowned the National Champion. USA Today has its poll of
the top 25 college teams in the nation. The Sporting News likewise has its
power poll, not only for college teams but for the NFL as well. But
sometimes we wonder what these polls are based on. Are they based on
something other than win-lose records and TV exposure? Well, now Commodore
128 users can do their own poll of NFL teams.
NFL TOP TEN keeps records on all 30 teams and computes the numbers to
rank them from 1 through 30. The formula for determining the ranking of
each team is in line 5620. The formula is:
RT(N)=((PF(N)-PA(N))/GP(N))+WN(N).
RT(N) is the variable which is sorted to determine the rankings. PF(N) is
points scored, PA(N) is points scored by opponents, GP(N) is the number of
games played and WN(N) is the number of games won. The formula is basically
the difference between points scored and points given up, divided by the
number of games played, plus the number of games won. You can alter this
formula to suit your own preferences. For example, if you feel more weight
should be given to the number of games won then change the formula to
reflect that preference.
1.0 Main Menu
When the program boots up you will see on your screen an alphabetical
listing of all 30 NFL teams. Across the bottom of the screen is a menu of
six items.
1.1 New Season
Press "S" to initialize a new season. You will be prompted for the
season year. Type in all four didgits of the year, such as 1996 or 1997 or
whatever. Press RETURN to go back to the Main Menu.
1.2 AFC
To view and enter stats for the American Conference press "A".
1.3 NFC
To view and enter stats for the National Conference press "N".
1.4 Print
This option will print the current screen with the listing of all teams
either in their alphabetical order or sorted according to their rating,
depending on which is on the current screen.
1.5 Disk
This option wil allow you to save and load the files representing
various football seasons you have created. You can also change drive
numbers and view directories. When saving the current season, which is
already on the disk, you will be ask if you wish to replace the old file.
Answer with an "N" to abort or "Y" to continue. Season files are saved as a
year with an "nfl." prefix ("nfl.1996", for example).
NOTE: A file called "nfl.1996" is on the LOADSTAR 128 #35 disk. It's the
final standings of the NFL for 1996 and will show you what your file will
look like if you follow the upcoming 1997 season closely. Remember, to load
it, just enter "1996", not "nfl.1996".
If a file with the same file name as the one currently in memory is
already on the disk, then it will be changed to the same file name with
".a" added ("nfl.1996.a"). If there is already a file with the .a then that
file will be deleted, the file without the .a will have it added and the
current file will be saved as is. (For example, "nfl.1996.a" is deleted,
"nfl.1996" becomes "nfl.1996.a", and the current file is saved as
"nfl.1996".) In this way there are two files for each season, an old file
and the most recent update.
Press "M" to return to the Main Menu. If you have loaded a file you
will be asked is you want to calculate the team rankings. Press "Y" to
calculate or "N" to return to the original screen of an alphabetical
listing.
1.6 Quit
Use this option to quit the program and return to LOADSTAR 128 if
there's a LS 128 disk in the current drive. If not, you'll return to
BASIC.
2.0 AFC and NFC Menus
The screens for both conferences are the same. Each division is given
with their teams listed according to their winning percentage. If no data
has been entered then the the teams wil be listed alphabetically. There are
five options across the bottom of the screen.
2.1 Main Menu
This option will take you back to the Main Menu. You will be asked if
you want to calculate the team rankings. Press "Y" to calculate or "N" to
return to the original screen or an alphabetical listing.
2.2 Division
Use this option to enter stats on a week by week basis. The first
prompt will ask which division you want to enter stats on. Each team, in
alphabetical order, will be listed for you to enter its stats. The next
prompt asks whether or not it was a bye-week for that team. Answer with a
"Y" to go on to the next team or "N" to enter stats for that team. Usually
four of the five teams in a given division will all have bye-weeks at the
same time and the fifth team will have a bye-week by itself.
You will then be asked for the score of this weeks game and a few "yes"
or "no" type questions about the game, such as home/away game,
division/non-division game, and conference/non-conference game. Enter the
information as it is asked for each team. When you have entered the stats
for all five teams you will go back to the previous menu and the standings
for that division will be calculated. Repeat the same procedure for all
three divisions.
2.3 Change
This option will allow you to correct any stats entered incorrectly or,
if you've missed a week or two, you can use this to enter all the data up
to that point in the season. You can compare your stats with the standings
chart in the newspaper. If you have made an error or if you have fallen
behind a couple of weeks, then use this option. At each prompt the current
stat is displayed. Either DEL the information and type in the correct
information or press RETURN to retain the current stat.
2.4 Re-calculate
If for some reason you feel the division standings were not correctly
calculated then use this option to re-calculate then.
2.5 Print
This option will print the current screen with the listing of all
divisions and teams either in their alphabetical order or sorting according
to their winning percentage, depending on which is on the current screen.
That's NFL TOP TEN! When I was in high school I used to keep all this
information on paper because there was no sports-oriented national
newspaper like USA TODAY that kept all these stats. I also preferred to use
my own rating system. Now that I have a C-128 my stats sheets have never
looked better. The program is written in BASIC 7.0 with Jon Mattson's
CONTROL80 toolbox to help with tricky things like screen stashing. It's
conceivable that you could use this program for a fantasy league type
recreation; not the kind where you follow real players' stats, but the kind
where you just make up seasons and roll dice or something to determine who
scores what.
FENDER'S POSTMUMBLE: I used to play a made up game like that when I was a
kid, but it was a baseball season rather than football. I bet that quite a
few of you out there did the same thing way back when. Robert Coover wrote
a wonderful book about a man who lets it go a little too far, called THE
UNIVERSAL BASEBALL ASSOCIATION: J. HENRY WAUGH, PROPRIETOR. Poor Henry
threw dice to see how each batter fared, but one day, while his favorite
slugger was at the plate (his alter ego, actually), he threw triple sixes
twice in a row and when he looked in his "manual" to see what that meant,
he found that it was a beanball -- a fatal beanball. Henry was never the
same after his alter ego died at the plate. Let's hope you enjoy using NFL
TOP TEN for whatever reason and don't have any any lethal forward passes.
\\\\\ R - Run RETURN - Menu \\\\\